package cn.ac.iie.bdb_to_mongo.commons;

/**
 * @auther Fighter Created on 2016/12/2.
 */
public final class Constants {
    private Constants() {
    }
    //接收队列配置
    public static final String RECEIVER_THREAD_NUM = "receiver.thread.num";
    public static final String RECEIVER_MQ_NAMESERVER = "receiver.rocketmq.nameserver";
    public static final String RECEIVER_MQ_READ_TOPIC = "receiver.rocketmq.read.topic";
    public static final String RECEIVER_MQ_GROUP = "receiver.rocketmq.group";
    //发送队列配置
    public static final String SENDER_MQ_SEND_TOPIC1="sender.rocketmq.send.topic1";
    public static final String SENDER_MQ_SEND_TOPIC2="sender.rocketmq.send.topic2";
    public static final String SENDER_QUEUE_BATCH_NUM="sender.queue.batch.num";
    public static final String SENDER_QUEUE_TIME_OUT="sender.queue.time.out";

    //bdb配置
    public static final String BDB_ENVHOME = "bdb.envHome";
    public static final String BDB_DATABASE_NAME = "bdb.dbName";
    public static final String WRITE_BDB_THREAD_NUM = "writebdb.thread.num";//写bdb线程数
    public static final String WRITE_BDB_TRY_TIMES = "writebdb.trytimes";//写bdb失败时重试次数
    //mongo配置
    public static final String UPDATE_MONGO_THREAD_NUM = "updatemongo.thread.num";//写mongo线程数
    public static final String UPDATE_MONGO_TRY_TIMES = "updatemongo.trytimes";//写mongo失败时重试次数
    //旧表docinfo
    public static final String MONGO_HOSTS = "mongo.hosts";//写mongo失败时重试次数
    public static final String MONGO_USER = "mongo.user";//写mongo失败时重试次数
    public static final String MONGO_PASSWD = "mongo.passwd";//写mongo失败时重试次数
    public static final String MONGO_DB = "mongo.db";//写mongo失败时重试次数
    public static final String MONGO_TABLE = "mongo.table";//写mongo失败时重试次数
    //新表ivrmsg
    public static final String MONGO_HOSTS1 = "mongo.hosts1";//写mongo失败时重试次数
    public static final String MONGO_USER1 = "mongo.user1";//写mongo失败时重试次数
    public static final String MONGO_PASSWD1 = "mongo.passwd1";//写mongo失败时重试次数
    public static final String MONGO_DB1 = "mongo.db1";//写mongo失败时重试次数
    public static final String MONGO_TABLE1 = "mongo.table1";//写mongo失败时重试次数

    public static final String MONGO_UPDATE_KEYCOL = "mongo.update.keyCol";//写mongo失败时重试次数
    public static final String MONGO_UPDATE_UPDATECOL = "mongo.update.updateCol";//写mongo失败时重试次数

    public static final String MONGO_UPDATE_DELAY = "mongo.update.delay";//写mongo失败时重试次数
    public static final String MONGO_UPDATE_INTERVAL = "mongo.update.interval";//写mongo失败时重试次数


}
